package com.jiantong.version.service;

import com.jiantong.version.model.Dictionary;
import io.terminus.common.model.Response;

import java.util.List;

/**
 * Created by mz on 25/8/17.
 *
 */
public interface DictionaryReadService {

    /**
     * 根据类型查询字典
     * @param type 类型
     * @return  List<Dictionary>
     */
    Response<List<Dictionary>> findListByType(Integer type);


    /**
     * 根据类型查询字典
     *
     * @return  List<Dictionary>
     */
    Response<List<Dictionary>> findAll();
}
